package org.example.lgh;

import java.util.ServiceLoader;

/**
 * ******************************************************
 *
 * @author liugh9
 * @version 1.0
 * @classname Application
 * @description
 * @date 2023/04/19 21:00
 * <p>
 * ******************************************************
 */
public class Application {

    public static void main(String[] args) {
        ServiceLoader<InternetService> load = ServiceLoader.load(InternetService.class);
        for (InternetService service : load) {
            service.connectInternet();
        }
    }
}
